﻿<!doctype html><%@ Page Language="C#" AutoEventWireup="True" Inherits="tmAsk.Member.Message" Codebehind="Message.aspx.cs" %>
<html>
<head runat="server">
<meta charset="utf-8">
<title>我的短消息</title>
<link href="/member/css/css.css" rel="stylesheet" type="text/css" />
<link href="/member/css/usercenter.css" rel="stylesheet" type="text/css" />
<script src="/js/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
	if (window.frameElement == null) self.location = 'member.aspx';
</script>
</head>

<body>

    <form id="form1" runat="server">
	<div class="SpaceRight">
		<div class="TopBar">
			<div class="NavPath">
				<a href="/member/member.aspx" onclick="javascript:parent.location.reload();" >会员中心</a> » <a href="message.aspx">站内短信通知</a></span>
			</div>
		</div>
		<h1>站内短信通知</h1>
        <table width="700px" class="data-list">
            <tbody>
                <tr>
                    <td class="c" width="50px">
                        来源
                    </td>
                    <td class="l">
                        标题
                    </td>
                    <td class="c" width="40px">
                        删除
                    </td>
                    <td class="c" width="40px">
                        状态
                    </td>
                    <td class="c" width="120px">
                        收到时间
                    </td>
                </tr>
                <asp:Repeater ID="rptList" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td class="c sysmsg">
                                <%#GetMsgType(Eval("m_type"), Eval("m_isread"))%>
                            </td>
                            <td class="l title">
                                [<a href="msgview.aspx?id=<%#Eval("m_id") %>"><%# Eval("m_content")%>]</a>
                            </td>
                            <td style="text-align:center;">
                                <input type="checkbox" name="messDel" value="<%#Eval("m_id") %>" />
                            </td>
                            <td class="c gray">
                                <div class="Qstate_3-3"><%#GetState(Eval("m_isread"))%></div>
                            </td>
                            <td class="c time"><%#Eval("m_time")%></td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
        </table>
        <div class="foot"><asp:Label ID="lblTxt" runat="server"></asp:Label></div>
        <div class="foot"><asp:Button ID="btnOk" CssClass="delallbtn" Text="删除选中" runat="server" OnClick="btnDel_Click" /></div>
	</div>
    </form>
</body>
</html>
